Passed
Push — master ( f48046...266a83 )
by Felipe Catão do
01:09
created

main.js ➔ teste   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
1
import menu from "../components/menu.js"
2
import EngineApp from '../../Framework/engine.js'
3
4
var eng=new EngineApp()
5
//renderizar o menu
6
eng.componentsEngine.createComponent("menu",menu())
7
eng.componentsEngine.renderComponent("dinamic","menu")
8
//sistemas De rotas
9
eng.routesEngine.registerRoute("http://127.0.0.1:5500/LavineWiki/index.html#pageInitial",teste)
10
eng.routesEngine.runRoute("http://127.0.0.1:5500/LavineWiki/index.html","http://127.0.0.1:5500/LavineWiki/index.html#pageInitial")
11
12
function teste(){
13
    console.log("ai")
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
14
}